package com.zhijiaoyun.service;

import java.util.List;

import com.zhijiaoyun.model.CourseHistory;
import com.zhijiaoyun.model.dto.PageList;

/**
 * @author shisfish
 * @date 2017/6/6
 */
public interface ICourseHistoryService {

	CourseHistory getCourseHistoryByCourseIdUserId(Long courseId, Long userId);

	void addCourseHistory(CourseHistory courseHistory);

	PageList<CourseHistory> pageCourseHistoryByParams(Integer pageIndex, Long userId);

	List<CourseHistory> getCourseHistoryByUserId(Integer pageIndex, Long userId);

	void modifyCourseHistory(CourseHistory courseHistory);

}
